package oa.hleast.xswl.pojo.domain.pms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import oa.hleast.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 00209
 * @date: 2021-06-15 15:57:44
 * @description: 用户奖品表(PmsUserLottery)实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户奖品表实体类")
public class PmsUserLottery extends BaseEntity {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("奖品Id")
    private Long lotteryId;

    @ApiModelProperty("奖品名称")
    private String name;

    @ApiModelProperty("0：空, 1: 积分, 2：优惠券")
    private Integer type;

    @ApiModelProperty("用户Id")
    private Long userId;
}
